package org.example.mybatis.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.mybatis.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Mapper
public interface UserInfoXMlMapper {
    List<UserInfo> queryAllUser();
    Integer insert(UserInfo userInfo);
    Integer delete(Integer id);
    Integer update(UserInfo userInfo);
}
